home *** CD-ROM | disk | FTP | other *** search
/ FM Towns: Free Software Collection 9 / FM Towns Free Software Collection 9.iso / taropyon / silib / inc / egb_gra.h next >
Encoding:
C/C++ Source or Header  |  1994-11-16  |  326 b   |  15 lines

  1. /* EGB グラフィックオペレーション    */
  2. #ifndef    _EGB_GRA_H
  3. #define    _EGB_GRA_H
  4.  
  5. #define    _EGB_RECTANGLE(_x1,_y1,_x2,_y2)    {    \
  6.     struct                                    \
  7.     {    short x1, y1, x2, y2;                \
  8.     } para;                                    \
  9.     para.x1 = (_x1);    para.y1 = (_y1);    \
  10.     para.x2 = (_x2);    para.y2 = (_y2);    \
  11.     EGB_rectangle( EgbPtr,(char *)¶);    \
  12. }
  13.  
  14. #endif
  15.